﻿CREATE FUNCTION [dbo].[fn_SPScriptSeparator]
(
)
RETURNS VARCHAR(MAX)
AS
BEGIN
	RETURN (
	    REPLICATE('-', 5) + ' ' + CAST(GETDATE() AS VARCHAR(50)) + ' ' + REPLICATE('-', 80 - 7 - LEN(CAST(GETDATE() AS VARCHAR(50))))
	)
END